@extends('layouts.admin')
@section('content')
<style>
	.panel.layout-panel.layout-panel-center.panel-htop {
		left: unset !important;
		right: 0;
	}

	.panel.panel-htop.panel-last {
		width: 100% !important;
	}

	.accordion .panel-last>.accordion-body {
		width: 100% !important;
	}
</style>
<script type="text/javascript" src="/js/admin/report.js"></script>
<div id="cc" class="easyui-layout" style="width:1800px;height:100%;margin: 0 auto;">
	<div data-options="region:'west',title:'社区列表',split:true">
		<div class="easyui-accordion" style="height:300px;overflow: auto;">

			<div id='p' title="地 区" data-options="iconCls:''" style="width: 100%;height: auto;">
				<ul class="easyui-tree" id="easyui-tree">
					<li data-options="level:2">
						<span><a style="color: #000000" href="/admin/company/comlist1"
								target="myFrameName">{{$tree['name']}}</a></span>
						<ul>
							@foreach($tree['street'] as $k=>$v)
							<li data-options="level:3,area_id:'{{$v['id']}}'" state="closed">
								<span> <a style="color: #000000" href="/admin/company/comlist1?community={{$v['id']}}"
										target="myFrameName">{{$v['name']}}</a></span>
								<ul>
									<li>
									</li>
								</ul>
							</li>
							@endforeach
						</ul>
					</li>
				</ul>
			</div>
		</div>
	</div>
	<div data-options="region:'center',title:'查询结果'" style="overflow: hidden;">
		<iframe id="myFrameId" name="myFrameName" src="/admin/company/comlist1" scrolling="true" frameborder="0"
			width="100%" height="100%">
		</iframe>
	</div>
</div>
@endsection
